Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_SW_INQSWATH

EOS_SW_INQSWATH

This function retrieves number and names of swaths defined in the HDF-EOS file. The swath list is returned as a string with each swath name separated by commas.

Note: See STRSPLIT to separate the swath list.

Syntax

Result = EOS_SW_INQSWATH( filename, swathlist [, LENGTH =value] )

Return Value

Number of swaths found or (–1) if failure.

Arguments

filename

HDF-EOS filename (string).

swathlist

Swath list (string) with entries separated by commas.

Keywords

LENGTH

String length (long) of swath list.

Examples

In this example, we retrieve information about the swaths defined in an HDF-EOS file, HDFEOS.hdf:

nswath = EOS_SW_INQSWATH("HDFEOS.hdf", swathlist)

Version History

 

5.2

Introduced